{
  "cells": [
    {
      "cell_type": "markdown",
      "source": [
        "# Numpy"
      ],
      "metadata": {}
    },
    {
      "cell_type": "code",
      "source": [
        "# Numpy Library\n",
        "import numpy as np"
      ],
      "outputs": [],
      "execution_count": 1,
      "metadata": {
        "collapsed": false,
        "outputHidden": false,
        "inputHidden": false,
        "execution": {
          "iopub.status.busy": "2022-01-29T01:56:20.974Z",
          "iopub.execute_input": "2022-01-29T01:56:20.980Z",
          "iopub.status.idle": "2022-01-29T01:56:20.985Z",
          "shell.execute_reply": "2022-01-29T01:56:20.947Z"
        }
      }
    },
    {
      "cell_type": "markdown",
      "source": [
        "Import Finance Data (Historical Prices)"
      ],
      "metadata": {}
    },
    {
      "cell_type": "code",
      "source": [
        "import warnings\n",
        "warnings.filterwarnings(\"ignore\")\n",
        "\n",
        "# yfinance is used to fetch data \n",
        "import yfinance as yf\n",
        "yf.pdr_override()"
      ],
      "outputs": [],
      "execution_count": 2,
      "metadata": {
        "collapsed": false,
        "outputHidden": false,
        "inputHidden": false,
        "execution": {
          "iopub.status.busy": "2022-01-29T01:56:20.991Z",
          "iopub.execute_input": "2022-01-29T01:56:20.996Z",
          "iopub.status.idle": "2022-01-29T01:56:21.803Z",
          "shell.execute_reply": "2022-01-29T01:56:21.825Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "# input\n",
        "symbol = 'AMD'\n",
        "start = '2014-01-01'\n",
        "end = '2018-08-27'\n",
        "\n",
        "# Read data \n",
        "dataset = yf.download(symbol,start,end)\n",
        "\n",
        "# View Columns\n",
        "dataset.head()"
      ],
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "[*********************100%***********************]  1 of 1 completed\n"
          ]
        },
        {
          "output_type": "execute_result",
          "execution_count": 3,
          "data": {
            "text/plain": "            Open  High   Low  Close  Adj Close    Volume\nDate                                                    \n2014-01-02  3.85  3.98  3.84   3.95       3.95  20548400\n2014-01-03  3.98  4.00  3.88   4.00       4.00  22887200\n2014-01-06  4.01  4.18  3.99   4.13       4.13  42398300\n2014-01-07  4.19  4.25  4.11   4.18       4.18  42932100\n2014-01-08  4.23  4.26  4.14   4.18       4.18  30678700",
            "text/html": "<div>\n<style scoped>\n    .dataframe tbody tr th:only-of-type {\n        vertical-align: middle;\n    }\n\n    .dataframe tbody tr th {\n        vertical-align: top;\n    }\n\n    .dataframe thead th {\n        text-align: right;\n    }\n</style>\n<table border=\"1\" class=\"dataframe\">\n  <thead>\n    <tr style=\"text-align: right;\">\n      <th></th>\n      <th>Open</th>\n      <th>High</th>\n      <th>Low</th>\n      <th>Close</th>\n      <th>Adj Close</th>\n      <th>Volume</th>\n    </tr>\n    <tr>\n      <th>Date</th>\n      <th></th>\n      <th></th>\n      <th></th>\n      <th></th>\n      <th></th>\n      <th></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <th>2014-01-02</th>\n      <td>3.85</td>\n      <td>3.98</td>\n      <td>3.84</td>\n      <td>3.95</td>\n      <td>3.95</td>\n      <td>20548400</td>\n    </tr>\n    <tr>\n      <th>2014-01-03</th>\n      <td>3.98</td>\n      <td>4.00</td>\n      <td>3.88</td>\n      <td>4.00</td>\n      <td>4.00</td>\n      <td>22887200</td>\n    </tr>\n    <tr>\n      <th>2014-01-06</th>\n      <td>4.01</td>\n      <td>4.18</td>\n      <td>3.99</td>\n      <td>4.13</td>\n      <td>4.13</td>\n      <td>42398300</td>\n    </tr>\n    <tr>\n      <th>2014-01-07</th>\n      <td>4.19</td>\n      <td>4.25</td>\n      <td>4.11</td>\n      <td>4.18</td>\n      <td>4.18</td>\n      <td>42932100</td>\n    </tr>\n    <tr>\n      <th>2014-01-08</th>\n      <td>4.23</td>\n      <td>4.26</td>\n      <td>4.14</td>\n      <td>4.18</td>\n      <td>4.18</td>\n      <td>30678700</td>\n    </tr>\n  </tbody>\n</table>\n</div>"
          },
          "metadata": {}
        }
      ],
      "execution_count": 3,
      "metadata": {
        "collapsed": false,
        "outputHidden": false,
        "inputHidden": false,
        "execution": {
          "iopub.status.busy": "2022-01-29T01:56:21.814Z",
          "iopub.execute_input": "2022-01-29T01:56:21.819Z",
          "iopub.status.idle": "2022-01-29T01:56:23.563Z",
          "shell.execute_reply": "2022-01-29T01:56:23.877Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "# Convert dataset to numpy\n",
        "# Convert Open dataframe to array\n",
        "Open_array = np.array(dataset['Open'])\n",
        "Open_array  "
      ],
      "outputs": [
        {
          "output_type": "execute_result",
          "execution_count": 4,
          "data": {
            "text/plain": "array([ 3.8499999 ,  3.98000002,  4.01000023, ..., 20.28000069,\n       21.19000053, 22.90999985])"
          },
          "metadata": {}
        }
      ],
      "execution_count": 4,
      "metadata": {
        "collapsed": false,
        "outputHidden": false,
        "inputHidden": false,
        "execution": {
          "iopub.status.busy": "2022-01-29T01:56:23.573Z",
          "iopub.execute_input": "2022-01-29T01:56:23.578Z",
          "iopub.status.idle": "2022-01-29T01:56:23.589Z",
          "shell.execute_reply": "2022-01-29T01:56:23.881Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "print(\"First element:\", Open_array [0])\n",
        "print(\"Second element:\", Open_array [1])\n",
        "print(\"Second last element:\", Open_array[-1])"
      ],
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "First element: 3.8499999046325684\n",
            "Second element: 3.9800000190734863\n",
            "Second last element: 22.90999984741211\n"
          ]
        }
      ],
      "execution_count": 5,
      "metadata": {
        "collapsed": false,
        "outputHidden": false,
        "inputHidden": false,
        "execution": {
          "iopub.status.busy": "2022-01-29T01:56:23.596Z",
          "iopub.execute_input": "2022-01-29T01:56:23.601Z",
          "iopub.status.idle": "2022-01-29T01:56:23.610Z",
          "shell.execute_reply": "2022-01-29T01:56:23.884Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "print(Open_array[2:5]) # 3rd to 5th\n",
        "print(Open_array[:-5]) # beginning to 4th\n",
        "print(Open_array[5:])  # 6th to end\n",
        "print(Open_array[:])   # beginning to end"
      ],
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "[4.01000023 4.19000006 4.23000002]\n",
            "[ 3.8499999   3.98000002  4.01000023 ... 19.86000061 19.86000061\n",
            " 19.12000084]\n",
            "[ 4.19999981  4.09000015  4.19000006 ... 20.28000069 21.19000053\n",
            " 22.90999985]\n",
            "[ 3.8499999   3.98000002  4.01000023 ... 20.28000069 21.19000053\n",
            " 22.90999985]\n"
          ]
        }
      ],
      "execution_count": 6,
      "metadata": {
        "collapsed": false,
        "outputHidden": false,
        "inputHidden": false,
        "execution": {
          "iopub.status.busy": "2022-01-29T01:56:23.616Z",
          "iopub.execute_input": "2022-01-29T01:56:23.620Z",
          "iopub.status.idle": "2022-01-29T01:56:23.629Z",
          "shell.execute_reply": "2022-01-29T01:56:23.892Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "volume = np.array(dataset['Volume'])\n",
        "\n",
        "# changing first element\n",
        "volume[0] = 0    \n",
        "print(volume)  "
      ],
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "[        0  22887200  42398300 ...  62002700 113444100 164328200]\n"
          ]
        }
      ],
      "execution_count": 7,
      "metadata": {
        "collapsed": false,
        "outputHidden": false,
        "inputHidden": false,
        "execution": {
          "iopub.status.busy": "2022-01-29T01:56:23.636Z",
          "iopub.execute_input": "2022-01-29T01:56:23.641Z",
          "iopub.status.idle": "2022-01-29T01:56:23.650Z",
          "shell.execute_reply": "2022-01-29T01:56:23.894Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "# changing 3rd to 5th element\n",
        "volume[2:5] = np.array([4, 6, 8])   \n",
        "print(volume)       "
      ],
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "[        0  22887200         4 ...  62002700 113444100 164328200]\n"
          ]
        }
      ],
      "execution_count": 8,
      "metadata": {
        "collapsed": false,
        "outputHidden": false,
        "inputHidden": false,
        "execution": {
          "iopub.status.busy": "2022-01-29T01:56:23.656Z",
          "iopub.execute_input": "2022-01-29T01:56:23.660Z",
          "iopub.status.idle": "2022-01-29T01:56:23.672Z",
          "shell.execute_reply": "2022-01-29T01:56:23.897Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "# Add Elements\n",
        "add_numbers = np.array([1, 2, 3])\n",
        "\n",
        "np.concatenate((volume, add_numbers))"
      ],
      "outputs": [
        {
          "output_type": "execute_result",
          "execution_count": 9,
          "data": {
            "text/plain": "array([       0, 22887200,        4, ...,        1,        2,        3],\n      dtype=int64)"
          },
          "metadata": {}
        }
      ],
      "execution_count": 9,
      "metadata": {
        "collapsed": false,
        "outputHidden": false,
        "inputHidden": false,
        "execution": {
          "iopub.status.busy": "2022-01-29T01:56:23.681Z",
          "iopub.execute_input": "2022-01-29T01:56:23.687Z",
          "iopub.status.idle": "2022-01-29T01:56:23.698Z",
          "shell.execute_reply": "2022-01-29T01:56:23.899Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "np.append(volume, add_numbers, axis=0)"
      ],
      "outputs": [
        {
          "output_type": "execute_result",
          "execution_count": 10,
          "data": {
            "text/plain": "array([       0, 22887200,        4, ...,        1,        2,        3],\n      dtype=int64)"
          },
          "metadata": {}
        }
      ],
      "execution_count": 10,
      "metadata": {
        "collapsed": false,
        "outputHidden": false,
        "inputHidden": false,
        "execution": {
          "iopub.status.busy": "2022-01-29T01:56:23.706Z",
          "iopub.execute_input": "2022-01-29T01:56:23.713Z",
          "iopub.status.idle": "2022-01-29T01:56:23.725Z",
          "shell.execute_reply": "2022-01-29T01:56:23.902Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "# Remove elements\n",
        "print(volume)"
      ],
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "[        0  22887200         4 ...  62002700 113444100 164328200]\n"
          ]
        }
      ],
      "execution_count": 11,
      "metadata": {
        "collapsed": false,
        "outputHidden": false,
        "inputHidden": false,
        "execution": {
          "iopub.status.busy": "2022-01-29T01:56:23.731Z",
          "iopub.execute_input": "2022-01-29T01:56:23.735Z",
          "iopub.status.idle": "2022-01-29T01:56:23.744Z",
          "shell.execute_reply": "2022-01-29T01:56:23.905Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "np.delete(volume, 1) # delete the 2nd element"
      ],
      "outputs": [
        {
          "output_type": "execute_result",
          "execution_count": 12,
          "data": {
            "text/plain": "array([        0,         4,         6, ...,  62002700, 113444100,\n       164328200], dtype=int64)"
          },
          "metadata": {}
        }
      ],
      "execution_count": 12,
      "metadata": {
        "collapsed": false,
        "outputHidden": false,
        "inputHidden": false,
        "execution": {
          "iopub.status.busy": "2022-01-29T01:56:23.750Z",
          "iopub.execute_input": "2022-01-29T01:56:23.755Z",
          "iopub.status.idle": "2022-01-29T01:56:23.764Z",
          "shell.execute_reply": "2022-01-29T01:56:23.907Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "volume = volume.tolist() # Convert tolist() to use remove\n",
        "volume"
      ],
      "outputs": [
        {
          "output_type": "execute_result",
          "execution_count": 13,
          "data": {
            "text/plain": "[0,\n 22887200,\n 4,\n 6,\n 8,\n 30667600,\n 20840800,\n 22856100,\n 42434800,\n 66613100,\n 46975600,\n 45842700,\n 58702900,\n 86329500,\n 29844700,\n 48095800,\n 31332300,\n 27962600,\n 21765000,\n 17111700,\n 13602100,\n 22280200,\n 22681000,\n 14858900,\n 16072900,\n 23119700,\n 21241100,\n 34198100,\n 18321300,\n 13368600,\n 12387900,\n 11956700,\n 14175500,\n 13276100,\n 13606800,\n 10717900,\n 9173500,\n 13211700,\n 18218000,\n 14643200,\n 19555800,\n 10516100,\n 10740200,\n 10713000,\n 55435800,\n 42135800,\n 34951400,\n 14700500,\n 19803000,\n 18161500,\n 20004100,\n 15273700,\n 28516900,\n 23600600,\n 23871200,\n 20669500,\n 14517000,\n 14799700,\n 24532000,\n 13189200,\n 15386000,\n 18778800,\n 14839500,\n 16802300,\n 23427000,\n 24874600,\n 17339100,\n 11270300,\n 21364300,\n 34428800,\n 22735100,\n 21754300,\n 18173300,\n 32048100,\n 102651500,\n 52806800,\n 29136300,\n 27532800,\n 37810200,\n 31737100,\n 14582900,\n 18419200,\n 37807300,\n 14479700,\n 9015400,\n 17929300,\n 22374700,\n 14550200,\n 15982900,\n 14785500,\n 11224000,\n 10349600,\n 18000900,\n 17166600,\n 18171000,\n 15647500,\n 13369500,\n 11903100,\n 9831100,\n 6922800,\n 12293800,\n 8876700,\n 10030600,\n 10859500,\n 10858800,\n 13286000,\n 13723800,\n 8466000,\n 7597200,\n 28322100,\n 20596200,\n 26709500,\n 17734600,\n 26192800,\n 19445000,\n 14702400,\n 10880500,\n 54721600,\n 49634100,\n 20402400,\n 13844700,\n 21640500,\n 16034600,\n 25850200,\n 29412600,\n 20486500,\n 22521700,\n 21165500,\n 41685800,\n 18462200,\n 39245000,\n 22425600,\n 73046000,\n 156113700,\n 61848100,\n 51309800,\n 137577700,\n 34219100,\n 34004800,\n 31748200,\n 27967600,\n 31793700,\n 31443400,\n 36157400,\n 42981200,\n 112162900,\n 33710000,\n 21493200,\n 40330600,\n 16271200,\n 32712300,\n 27166900,\n 29560500,\n 27369900,\n 30396800,\n 26148100,\n 33349200,\n 45381300,\n 23222100,\n 11986600,\n 11939800,\n 8364700,\n 8998200,\n 9183900,\n 7304400,\n 10331400,\n 7347200,\n 12603300,\n 9600600,\n 12791400,\n 6630200,\n 8396200,\n 8964800,\n 13276800,\n 8086800,\n 14123900,\n 18257000,\n 40156400,\n 24894600,\n 16141400,\n 23030000,\n 14201400,\n 16282500,\n 11792600,\n 17556500,\n 12976300,\n 26857600,\n 55952200,\n 33645900,\n 27904500,\n 16797000,\n 17864800,\n 17720600,\n 28000000,\n 69528900,\n 41062500,\n 38269400,\n 39964200,\n 36924600,\n 38795400,\n 75956600,\n 28711000,\n 24033800,\n 23034800,\n 23731000,\n 11945800,\n 13307500,\n 22878300,\n 15600900,\n 13026100,\n 14704800,\n 11733600,\n 12524300,\n 9635100,\n 8932900,\n 7293800,\n 12593100,\n 8113500,\n 15875400,\n 10915400,\n 12373000,\n 12593800,\n 14967800,\n 10323300,\n 15043900,\n 11311600,\n 12293900,\n 11073600,\n 10553500,\n 5665000,\n 16025100,\n 12438800,\n 18256500,\n 14513400,\n 9479300,\n 25402100,\n 22914800,\n 17690100,\n 10151600,\n 21211600,\n 19636400,\n 17051600,\n 12521300,\n 12423900,\n 14701500,\n 15044900,\n 8274400,\n 4624000,\n 4029600,\n 8527000,\n 7783700,\n 11177900,\n 0,\n 8878200,\n 13912500,\n 12377600,\n 11136600,\n 8907600,\n 9979600,\n 17907400,\n 9989900,\n 17744000,\n 30192400,\n 56713300,\n 46530800,\n 36169600,\n 11107200,\n 36571300,\n 51805800,\n 24786200,\n 17790200,\n 12908200,\n 25688700,\n 22592300,\n 34829300,\n 73355600,\n 38300000,\n 24133800,\n 13995100,\n 11741100,\n 12975000,\n 9627600,\n 8678100,\n 7286100,\n 6573600,\n 10666700,\n 6323500,\n 10916300,\n 6151300,\n 8680900,\n 7150200,\n 15638100,\n 8644000,\n 12122100,\n 11472300,\n 16785200,\n 12405900,\n 10312400,\n 11772800,\n 13847200,\n 8098100,\n 6132900,\n 7742200,\n 11385200,\n 8819400,\n 10764800,\n 7450200,\n 8724500,\n 26985300,\n 28286300,\n 16844100,\n 8557500,\n 7025000,\n 11240500,\n 7047600,\n 8178500,\n 5738100,\n 4349000,\n 7127600,\n 6184800,\n 8391500,\n 13364100,\n 15281400,\n 28617300,\n 53185300,\n 29164300,\n 31279400,\n 27634900,\n 15130400,\n 15001200,\n 13486900,\n 11448700,\n 11870200,\n 11465300,\n 11662800,\n 9670100,\n 12371600,\n 18492100,\n 15015600,\n 9758800,\n 10046900,\n 10017500,\n 7575900,\n 8865100,\n 8054800,\n 4732800,\n 9588400,\n 6947700,\n 7127700,\n 12845400,\n 10007800,\n 17511000,\n 12354600,\n 7750500,\n 6803700,\n 7106000,\n 8062300,\n 11575800,\n 7349700,\n 6212900,\n 12282700,\n 8161200,\n 7671000,\n 4557600,\n 8627800,\n 9795000,\n 27497900,\n 25400200,\n 25551700,\n 19410100,\n 17919600,\n 17516700,\n 18360200,\n 97054200,\n 22971500,\n 19381300,\n 19375000,\n 31185900,\n 20349400,\n 46418700,\n 15302900,\n 23378200,\n 17520800,\n 9080900,\n 15812300,\n 13517800,\n 20653300,\n 28127100,\n 12142400,\n 15034500,\n 16043400,\n 10641900,\n 16478400,\n 11916500,\n 14614600,\n 25582200,\n 15837400,\n 7733700,\n 26218200,\n 14328400,\n 13236000,\n 9475000,\n 7680800,\n 29926200,\n 7479200,\n 8521200,\n 7839700,\n 6183400,\n 9062400,\n 9751900,\n 7441200,\n 13745700,\n 12529500,\n 17217400,\n 12097700,\n 10715300,\n 11839300,\n 10924600,\n 6516000,\n 8470700,\n 6306100,\n 7154200,\n 6725300,\n 6009500,\n 12612300,\n 4290400,\n 31010300,\n 16458500,\n 6524400,\n 4928300,\n 5831600,\n 11814000,\n 5377800,\n 9975200,\n 9649200,\n 11247700,\n 5644600,\n 5693100,\n 7005300,\n 5739500,\n 5531700,\n 7146100,\n 7595600,\n 8558400,\n 7859200,\n 9198700,\n 8629100,\n 7686600,\n 6698400,\n 10184300,\n 27327100,\n 21544900,\n 10670800,\n 5584200,\n 14944100,\n 8208400,\n 9564200,\n 6313500,\n 5755600,\n 6950600,\n 4500400,\n 4897100,\n 5858700,\n 8705800,\n 8205300,\n 4302200,\n 8997100,\n 6231200,\n 6162200,\n 3532100,\n 3576800,\n 5920200,\n 4149700,\n 5825100,\n 9384700,\n 4704300,\n 10727100,\n 4863200,\n 15859700,\n 6914800,\n 2606600,\n 9924400,\n 5646400,\n 7501700,\n 7059900,\n 4572600,\n 8479600,\n 9055500,\n 8710000,\n 13069400,\n 11890000,\n 7625700,\n 7423900,\n 19543600,\n 11374100,\n 17988100,\n 6876600,\n 24893200,\n 30365300,\n 11890900,\n 16050500,\n 15300900,\n 10046600,\n 11086100,\n 32516800,\n 12972300,\n 23759400,\n 22203500,\n 31822400,\n 19629300,\n 17986100,\n 12749700,\n 15666600,\n 21199300,\n 18978900,\n 29243600,\n 26387900,\n 16245500,\n 13080900,\n 11097400,\n 10833200,\n 7118400,\n 11998100,\n 8816100,\n 11224100,\n 9978600,\n 8284800,\n 7914400,\n 11589000,\n 14991500,\n 9466100,\n 7858300,\n 9957300,\n 11853400,\n 13770200,\n 10823400,\n 7784100,\n 9895500,\n 6710600,\n 6906200,\n 5614400,\n 7911500,\n 11400300,\n 9011200,\n 10845700,\n 22092400,\n 15449000,\n 8754300,\n 10026900,\n 13082400,\n 9603500,\n 21382400,\n 33848000,\n 21573600,\n 13015700,\n 29000800,\n 26330500,\n 13464900,\n 10315800,\n 10167100,\n 10040200,\n 7683700,\n 13616200,\n 14945900,\n 9071500,\n 8257700,\n 5591100,\n 9640200,\n 12534600,\n 13479200,\n 8489000,\n 9045100,\n 16131900,\n 8048000,\n 8985300,\n 7487500,\n 8938800,\n 11719900,\n 7926100,\n 13957200,\n 143265300,\n 80607900,\n 36336900,\n 24186800,\n 20230000,\n 17717800,\n 16972800,\n 13784800,\n 8688500,\n 21529600,\n 11839300,\n 16299400,\n 9415100,\n 7540300,\n 9255800,\n 16470100,\n 14703800,\n 20066100,\n 19487500,\n 17696900,\n 13799600,\n 35467000,\n 34283900,\n 24703600,\n 22625700,\n 34429600,\n 25379200,\n 29696400,\n 35335000,\n 17561800,\n 21329600,\n 20676200,\n 16074300,\n 16219100,\n 15106500,\n 13500700,\n 16757400,\n 11575300,\n 34182700,\n 64894100,\n 43541300,\n 35864600,\n 47943300,\n 29159200,\n 36735200,\n 31025300,\n 29221400,\n 33118300,\n 26124800,\n 18255900,\n 16332500,\n 19392900,\n 15813800,\n 28140700,\n 21027900,\n 20832500,\n 14032500,\n 20050100,\n 14219300,\n 38619400,\n 23439600,\n 20102400,\n 40242000,\n 101838300,\n 118328600,\n 81230600,\n 38567300,\n 27515600,\n 22580500,\n 26729000,\n 40816400,\n 23807800,\n 22411000,\n 20164000,\n 21462200,\n 16772400,\n 29070700,\n 13240300,\n 25466400,\n 28339400,\n 26768800,\n 13791300,\n 30783300,\n 75129300,\n 41519200,\n 27531100,\n 22943900,\n 16451300,\n 31387900,\n 16916300,\n 16088100,\n 18808800,\n 22284600,\n 18538400,\n 24994600,\n 57721900,\n 90814700,\n 170828000,\n 78014400,\n 50819500,\n 64251100,\n 52669500,\n 47829400,\n 37837200,\n 28990900,\n 33450000,\n 35848200,\n 61022400,\n 29875800,\n 30035900,\n 27878300,\n 30746100,\n 47453100,\n 30456700,\n 25770000,\n 31235600,\n 27059700,\n 33059000,\n 13800500,\n 32510800,\n 33592700,\n 30401700,\n 66934400,\n 24261500,\n 25314800,\n 29420200,\n 64607500,\n 64243500,\n 52998400,\n 78862000,\n 47619300,\n 37804200,\n 77261300,\n 42345900,\n 39906900,\n 33852200,\n 33673600,\n 32215700,\n 36999200,\n 37728500,\n 38479500,\n 71749500,\n 39492200,\n 29596400,\n 28909400,\n 78083200,\n 124235500,\n 62336200,\n 65595900,\n 71312800,\n 34646000,\n 14214100,\n 25907800,\n 54831400,\n 36511900,\n 56682400,\n 42398900,\n 31410100,\n 92242900,\n 54897300,\n 104613000,\n 60600800,\n 63342900,\n 46967800,\n 46968600,\n 48871300,\n 77777700,\n 46085800,\n 59314200,\n 44814100,\n 36450800,\n 32288200,\n 44336500,\n 71254500,\n 50234300,\n 44095400,\n 55182000,\n 40781200,\n 38855200,\n 34453500,\n 37304800,\n 29201600,\n 39377000,\n 75244100,\n 38377500,\n 70491800,\n 51797600,\n 46151300,\n 27982100,\n 27905700,\n 43991200,\n 61778100,\n 35866600,\n 32719200,\n 37725000,\n 53704900,\n 165939300,\n 116324500,\n 60036700,\n 140474100,\n 158683800,\n 75942900,\n 73339900,\n 54579300,\n 57413100,\n 40479100,\n 33722300,\n 52502500,\n 40888000,\n 66357100,\n 71505000,\n 80317600,\n 46288600,\n 95422900,\n 141783000,\n 73450400,\n 104330900,\n 163395900,\n 117192600,\n 76666300,\n 71294700,\n 45244200,\n 65142200,\n 73078100,\n 52554500,\n 55179600,\n 44494800,\n 224892300,\n 91565600,\n 72552700,\n 61239500,\n 44549900,\n 50099500,\n 42686800,\n 37420200,\n 37863500,\n 44132800,\n 84566200,\n 48423700,\n 58413000,\n 58816700,\n 139500100,\n 70441000,\n 47178000,\n 59916600,\n 37385400,\n 53442600,\n 38188200,\n 37172000,\n 36491100,\n 41976100,\n 25689600,\n 36120300,\n 35881000,\n 36644500,\n 31327600,\n 50376000,\n 68036300,\n 268336500,\n 140899400,\n 77031400,\n 51759000,\n 35101100,\n 51017300,\n 65995900,\n 72946500,\n 56072600,\n 52565000,\n 164186900,\n 160109500,\n 86900100,\n 50319700,\n 78696400,\n 49799600,\n 42903900,\n 33584300,\n 31907600,\n 35339000,\n 42929000,\n 48002000,\n 43056200,\n 66207300,\n 114998600,\n 151005900,\n 89515100,\n 167454400,\n 125781800,\n 87302300,\n 51909400,\n 61666000,\n 59779500,\n 61803600,\n 118001500,\n 188796100,\n 149594200,\n 200777300,\n 101012500,\n 89319700,\n 85266900,\n 87634400,\n 59267400,\n 39929100,\n 99450200,\n 88927800,\n 88392100,\n 78320200,\n 71102300,\n 78508400,\n 111656900,\n 82084600,\n 71690800,\n 78366500,\n 51957800,\n 47707500,\n 51045700,\n 71014900,\n 98047400,\n 236083000,\n 130303700,\n 66763800,\n 69108700,\n 49149900,\n 67502200,\n 52557400,\n 64254000,\n 57486800,\n 47338000,\n 58861500,\n 83113400,\n 63558800,\n 64426100,\n 57990300,\n 64639400,\n 47371000,\n 37521700,\n 58888500,\n 39033200,\n 44345400,\n 37269700,\n 29732000,\n 35969600,\n 33618100,\n 43933000,\n 51822100,\n 53158600,\n 51445500,\n 34182400,\n 35816900,\n 60886200,\n 43346100,\n 54413100,\n 37210700,\n 37220200,\n 50337400,\n 83517400,\n 65455200,\n 102682400,\n 166821900,\n 50547000,\n 84172200,\n 68302000,\n 59947200,\n 35812300,\n 33926900,\n 34461100,\n 85174000,\n 42303200,\n 34758600,\n 28258700,\n 54032500,\n 43304000,\n 38746600,\n 69874100,\n 37515800,\n 34136800,\n 28995600,\n 39020300,\n 33795700,\n 32538900,\n 49838000,\n 84891600,\n 166762100,\n 87625400,\n 115650400,\n 137785100,\n 78600000,\n 66875500,\n 47942500,\n 44264300,\n 96349800,\n 67900200,\n 59065000,\n 76821200,\n 50209900,\n 54068300,\n 37245000,\n 33524700,\n 31800400,\n 56775600,\n 35960200,\n 31881700,\n 23816500,\n 11035800,\n 41798300,\n 65325700,\n 63333800,\n 43205000,\n 42128800,\n 97328300,\n 67304100,\n 38952200,\n 32665600,\n 34897000,\n 29956400,\n 36211000,\n 41494800,\n 29006800,\n 45462300,\n 63797700,\n 43852900,\n ...]"
          },
          "metadata": {}
        }
      ],
      "execution_count": 13,
      "metadata": {
        "collapsed": false,
        "outputHidden": false,
        "inputHidden": false,
        "execution": {
          "iopub.status.busy": "2022-01-29T01:56:23.770Z",
          "iopub.execute_input": "2022-01-29T01:56:23.775Z",
          "iopub.status.idle": "2022-01-29T01:56:23.786Z",
          "shell.execute_reply": "2022-01-29T01:56:23.909Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "volume.remove(0)\n",
        "print(volume)"
      ],
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "[22887200, 4, 6, 8, 30667600, 20840800, 22856100, 42434800, 66613100, 46975600, 45842700, 58702900, 86329500, 29844700, 48095800, 31332300, 27962600, 21765000, 17111700, 13602100, 22280200, 22681000, 14858900, 16072900, 23119700, 21241100, 34198100, 18321300, 13368600, 12387900, 11956700, 14175500, 13276100, 13606800, 10717900, 9173500, 13211700, 18218000, 14643200, 19555800, 10516100, 10740200, 10713000, 55435800, 42135800, 34951400, 14700500, 19803000, 18161500, 20004100, 15273700, 28516900, 23600600, 23871200, 20669500, 14517000, 14799700, 24532000, 13189200, 15386000, 18778800, 14839500, 16802300, 23427000, 24874600, 17339100, 11270300, 21364300, 34428800, 22735100, 21754300, 18173300, 32048100, 102651500, 52806800, 29136300, 27532800, 37810200, 31737100, 14582900, 18419200, 37807300, 14479700, 9015400, 17929300, 22374700, 14550200, 15982900, 14785500, 11224000, 10349600, 18000900, 17166600, 18171000, 15647500, 13369500, 11903100, 9831100, 6922800, 12293800, 8876700, 10030600, 10859500, 10858800, 13286000, 13723800, 8466000, 7597200, 28322100, 20596200, 26709500, 17734600, 26192800, 19445000, 14702400, 10880500, 54721600, 49634100, 20402400, 13844700, 21640500, 16034600, 25850200, 29412600, 20486500, 22521700, 21165500, 41685800, 18462200, 39245000, 22425600, 73046000, 156113700, 61848100, 51309800, 137577700, 34219100, 34004800, 31748200, 27967600, 31793700, 31443400, 36157400, 42981200, 112162900, 33710000, 21493200, 40330600, 16271200, 32712300, 27166900, 29560500, 27369900, 30396800, 26148100, 33349200, 45381300, 23222100, 11986600, 11939800, 8364700, 8998200, 9183900, 7304400, 10331400, 7347200, 12603300, 9600600, 12791400, 6630200, 8396200, 8964800, 13276800, 8086800, 14123900, 18257000, 40156400, 24894600, 16141400, 23030000, 14201400, 16282500, 11792600, 17556500, 12976300, 26857600, 55952200, 33645900, 27904500, 16797000, 17864800, 17720600, 28000000, 69528900, 41062500, 38269400, 39964200, 36924600, 38795400, 75956600, 28711000, 24033800, 23034800, 23731000, 11945800, 13307500, 22878300, 15600900, 13026100, 14704800, 11733600, 12524300, 9635100, 8932900, 7293800, 12593100, 8113500, 15875400, 10915400, 12373000, 12593800, 14967800, 10323300, 15043900, 11311600, 12293900, 11073600, 10553500, 5665000, 16025100, 12438800, 18256500, 14513400, 9479300, 25402100, 22914800, 17690100, 10151600, 21211600, 19636400, 17051600, 12521300, 12423900, 14701500, 15044900, 8274400, 4624000, 4029600, 8527000, 7783700, 11177900, 0, 8878200, 13912500, 12377600, 11136600, 8907600, 9979600, 17907400, 9989900, 17744000, 30192400, 56713300, 46530800, 36169600, 11107200, 36571300, 51805800, 24786200, 17790200, 12908200, 25688700, 22592300, 34829300, 73355600, 38300000, 24133800, 13995100, 11741100, 12975000, 9627600, 8678100, 7286100, 6573600, 10666700, 6323500, 10916300, 6151300, 8680900, 7150200, 15638100, 8644000, 12122100, 11472300, 16785200, 12405900, 10312400, 11772800, 13847200, 8098100, 6132900, 7742200, 11385200, 8819400, 10764800, 7450200, 8724500, 26985300, 28286300, 16844100, 8557500, 7025000, 11240500, 7047600, 8178500, 5738100, 4349000, 7127600, 6184800, 8391500, 13364100, 15281400, 28617300, 53185300, 29164300, 31279400, 27634900, 15130400, 15001200, 13486900, 11448700, 11870200, 11465300, 11662800, 9670100, 12371600, 18492100, 15015600, 9758800, 10046900, 10017500, 7575900, 8865100, 8054800, 4732800, 9588400, 6947700, 7127700, 12845400, 10007800, 17511000, 12354600, 7750500, 6803700, 7106000, 8062300, 11575800, 7349700, 6212900, 12282700, 8161200, 7671000, 4557600, 8627800, 9795000, 27497900, 25400200, 25551700, 19410100, 17919600, 17516700, 18360200, 97054200, 22971500, 19381300, 19375000, 31185900, 20349400, 46418700, 15302900, 23378200, 17520800, 9080900, 15812300, 13517800, 20653300, 28127100, 12142400, 15034500, 16043400, 10641900, 16478400, 11916500, 14614600, 25582200, 15837400, 7733700, 26218200, 14328400, 13236000, 9475000, 7680800, 29926200, 7479200, 8521200, 7839700, 6183400, 9062400, 9751900, 7441200, 13745700, 12529500, 17217400, 12097700, 10715300, 11839300, 10924600, 6516000, 8470700, 6306100, 7154200, 6725300, 6009500, 12612300, 4290400, 31010300, 16458500, 6524400, 4928300, 5831600, 11814000, 5377800, 9975200, 9649200, 11247700, 5644600, 5693100, 7005300, 5739500, 5531700, 7146100, 7595600, 8558400, 7859200, 9198700, 8629100, 7686600, 6698400, 10184300, 27327100, 21544900, 10670800, 5584200, 14944100, 8208400, 9564200, 6313500, 5755600, 6950600, 4500400, 4897100, 5858700, 8705800, 8205300, 4302200, 8997100, 6231200, 6162200, 3532100, 3576800, 5920200, 4149700, 5825100, 9384700, 4704300, 10727100, 4863200, 15859700, 6914800, 2606600, 9924400, 5646400, 7501700, 7059900, 4572600, 8479600, 9055500, 8710000, 13069400, 11890000, 7625700, 7423900, 19543600, 11374100, 17988100, 6876600, 24893200, 30365300, 11890900, 16050500, 15300900, 10046600, 11086100, 32516800, 12972300, 23759400, 22203500, 31822400, 19629300, 17986100, 12749700, 15666600, 21199300, 18978900, 29243600, 26387900, 16245500, 13080900, 11097400, 10833200, 7118400, 11998100, 8816100, 11224100, 9978600, 8284800, 7914400, 11589000, 14991500, 9466100, 7858300, 9957300, 11853400, 13770200, 10823400, 7784100, 9895500, 6710600, 6906200, 5614400, 7911500, 11400300, 9011200, 10845700, 22092400, 15449000, 8754300, 10026900, 13082400, 9603500, 21382400, 33848000, 21573600, 13015700, 29000800, 26330500, 13464900, 10315800, 10167100, 10040200, 7683700, 13616200, 14945900, 9071500, 8257700, 5591100, 9640200, 12534600, 13479200, 8489000, 9045100, 16131900, 8048000, 8985300, 7487500, 8938800, 11719900, 7926100, 13957200, 143265300, 80607900, 36336900, 24186800, 20230000, 17717800, 16972800, 13784800, 8688500, 21529600, 11839300, 16299400, 9415100, 7540300, 9255800, 16470100, 14703800, 20066100, 19487500, 17696900, 13799600, 35467000, 34283900, 24703600, 22625700, 34429600, 25379200, 29696400, 35335000, 17561800, 21329600, 20676200, 16074300, 16219100, 15106500, 13500700, 16757400, 11575300, 34182700, 64894100, 43541300, 35864600, 47943300, 29159200, 36735200, 31025300, 29221400, 33118300, 26124800, 18255900, 16332500, 19392900, 15813800, 28140700, 21027900, 20832500, 14032500, 20050100, 14219300, 38619400, 23439600, 20102400, 40242000, 101838300, 118328600, 81230600, 38567300, 27515600, 22580500, 26729000, 40816400, 23807800, 22411000, 20164000, 21462200, 16772400, 29070700, 13240300, 25466400, 28339400, 26768800, 13791300, 30783300, 75129300, 41519200, 27531100, 22943900, 16451300, 31387900, 16916300, 16088100, 18808800, 22284600, 18538400, 24994600, 57721900, 90814700, 170828000, 78014400, 50819500, 64251100, 52669500, 47829400, 37837200, 28990900, 33450000, 35848200, 61022400, 29875800, 30035900, 27878300, 30746100, 47453100, 30456700, 25770000, 31235600, 27059700, 33059000, 13800500, 32510800, 33592700, 30401700, 66934400, 24261500, 25314800, 29420200, 64607500, 64243500, 52998400, 78862000, 47619300, 37804200, 77261300, 42345900, 39906900, 33852200, 33673600, 32215700, 36999200, 37728500, 38479500, 71749500, 39492200, 29596400, 28909400, 78083200, 124235500, 62336200, 65595900, 71312800, 34646000, 14214100, 25907800, 54831400, 36511900, 56682400, 42398900, 31410100, 92242900, 54897300, 104613000, 60600800, 63342900, 46967800, 46968600, 48871300, 77777700, 46085800, 59314200, 44814100, 36450800, 32288200, 44336500, 71254500, 50234300, 44095400, 55182000, 40781200, 38855200, 34453500, 37304800, 29201600, 39377000, 75244100, 38377500, 70491800, 51797600, 46151300, 27982100, 27905700, 43991200, 61778100, 35866600, 32719200, 37725000, 53704900, 165939300, 116324500, 60036700, 140474100, 158683800, 75942900, 73339900, 54579300, 57413100, 40479100, 33722300, 52502500, 40888000, 66357100, 71505000, 80317600, 46288600, 95422900, 141783000, 73450400, 104330900, 163395900, 117192600, 76666300, 71294700, 45244200, 65142200, 73078100, 52554500, 55179600, 44494800, 224892300, 91565600, 72552700, 61239500, 44549900, 50099500, 42686800, 37420200, 37863500, 44132800, 84566200, 48423700, 58413000, 58816700, 139500100, 70441000, 47178000, 59916600, 37385400, 53442600, 38188200, 37172000, 36491100, 41976100, 25689600, 36120300, 35881000, 36644500, 31327600, 50376000, 68036300, 268336500, 140899400, 77031400, 51759000, 35101100, 51017300, 65995900, 72946500, 56072600, 52565000, 164186900, 160109500, 86900100, 50319700, 78696400, 49799600, 42903900, 33584300, 31907600, 35339000, 42929000, 48002000, 43056200, 66207300, 114998600, 151005900, 89515100, 167454400, 125781800, 87302300, 51909400, 61666000, 59779500, 61803600, 118001500, 188796100, 149594200, 200777300, 101012500, 89319700, 85266900, 87634400, 59267400, 39929100, 99450200, 88927800, 88392100, 78320200, 71102300, 78508400, 111656900, 82084600, 71690800, 78366500, 51957800, 47707500, 51045700, 71014900, 98047400, 236083000, 130303700, 66763800, 69108700, 49149900, 67502200, 52557400, 64254000, 57486800, 47338000, 58861500, 83113400, 63558800, 64426100, 57990300, 64639400, 47371000, 37521700, 58888500, 39033200, 44345400, 37269700, 29732000, 35969600, 33618100, 43933000, 51822100, 53158600, 51445500, 34182400, 35816900, 60886200, 43346100, 54413100, 37210700, 37220200, 50337400, 83517400, 65455200, 102682400, 166821900, 50547000, 84172200, 68302000, 59947200, 35812300, 33926900, 34461100, 85174000, 42303200, 34758600, 28258700, 54032500, 43304000, 38746600, 69874100, 37515800, 34136800, 28995600, 39020300, 33795700, 32538900, 49838000, 84891600, 166762100, 87625400, 115650400, 137785100, 78600000, 66875500, 47942500, 44264300, 96349800, 67900200, 59065000, 76821200, 50209900, 54068300, 37245000, 33524700, 31800400, 56775600, 35960200, 31881700, 23816500, 11035800, 41798300, 65325700, 63333800, 43205000, 42128800, 97328300, 67304100, 38952200, 32665600, 34897000, 29956400, 36211000, 41494800, 29006800, 45462300, 63797700, 43852900, 31420300, 21884300, 50744500, 20437900, 22921800, 18609400, 26678900, 44146300, 154066700, 109503000, 63808900, 63346000, 62560900, 52561200, 38354900, 47149300, 42686600, 39020800, 62086200, 46800700, 34758600, 46417200, 41956400, 42966600, 44239000, 66645400, 91236400, 140977800, 67543300, 79432600, 116568900, 87123200, 55758400, 56471800, 85458200, 63160900, 33661400, 51756800, 59593800, 47332300, 47096500, 40195800, 37886300, 33317600, 42265200, 55975300, 43387500, 63207400, 58123500, 43734800, 46751200, 127603200, 76011200, 89674400, 83748700, 174302600, 80540800, 66373900, 37591000, 53308600, 65116900, 44691700, 59944200, 54844500, 75878500, 68551300, 64832100, 48681400, 64824600, 54891600, 67356900, 65758800, 51087100, 38382600, 42849200, 29169300, 47784400, 38935700, 28875100, 45360300, 42449600, 57841600, 39011900, 42971300, 44992200, 90578000, 145284100, 74347800, 50608800, 43441600, 29267300, 33310600, 47884900, 54001700, 35218400, 49605700, 49744500, 43863700, 50263800, 44183200, 73364000, 38692500, 54063400, 49714200, 43267000, 44517800, 47785700, 43850100, 39578500, 58186400, 46797700, 71677900, 74546000, 56122700, 97089000, 99860300, 81930500, 80737600, 67002600, 90227300, 113048600, 77612200, 104317400, 92542900, 76280600, 95638400, 59257100, 94418400, 54213500, 56014300, 48716800, 41527800, 43398800, 32094000, 40703300, 65101700, 58525500, 37093000, 42544100, 44188100, 40614100, 65275300, 42313500, 40881500, 41267800, 42879800, 44940800, 58201500, 82604900, 192661100, 161903800, 160823400, 118403400, 75495200, 52867100, 53232100, 83579700, 72822600, 52081400, 46653400, 65821100, 81411300, 89195500, 86355700, 69733700, 60616600, 62983200, 55629000, 62002700, 113444100, 164328200]\n"
          ]
        }
      ],
      "execution_count": 14,
      "metadata": {
        "collapsed": false,
        "outputHidden": false,
        "inputHidden": false,
        "execution": {
          "iopub.status.busy": "2022-01-29T01:56:23.792Z",
          "iopub.execute_input": "2022-01-29T01:56:23.797Z",
          "iopub.status.idle": "2022-01-29T01:56:23.808Z",
          "shell.execute_reply": "2022-01-29T01:56:23.912Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "print(volume.pop(2))   # Output: 12\n",
        "print(volume)"
      ],
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "6\n",
            "[22887200, 4, 8, 30667600, 20840800, 22856100, 42434800, 66613100, 46975600, 45842700, 58702900, 86329500, 29844700, 48095800, 31332300, 27962600, 21765000, 17111700, 13602100, 22280200, 22681000, 14858900, 16072900, 23119700, 21241100, 34198100, 18321300, 13368600, 12387900, 11956700, 14175500, 13276100, 13606800, 10717900, 9173500, 13211700, 18218000, 14643200, 19555800, 10516100, 10740200, 10713000, 55435800, 42135800, 34951400, 14700500, 19803000, 18161500, 20004100, 15273700, 28516900, 23600600, 23871200, 20669500, 14517000, 14799700, 24532000, 13189200, 15386000, 18778800, 14839500, 16802300, 23427000, 24874600, 17339100, 11270300, 21364300, 34428800, 22735100, 21754300, 18173300, 32048100, 102651500, 52806800, 29136300, 27532800, 37810200, 31737100, 14582900, 18419200, 37807300, 14479700, 9015400, 17929300, 22374700, 14550200, 15982900, 14785500, 11224000, 10349600, 18000900, 17166600, 18171000, 15647500, 13369500, 11903100, 9831100, 6922800, 12293800, 8876700, 10030600, 10859500, 10858800, 13286000, 13723800, 8466000, 7597200, 28322100, 20596200, 26709500, 17734600, 26192800, 19445000, 14702400, 10880500, 54721600, 49634100, 20402400, 13844700, 21640500, 16034600, 25850200, 29412600, 20486500, 22521700, 21165500, 41685800, 18462200, 39245000, 22425600, 73046000, 156113700, 61848100, 51309800, 137577700, 34219100, 34004800, 31748200, 27967600, 31793700, 31443400, 36157400, 42981200, 112162900, 33710000, 21493200, 40330600, 16271200, 32712300, 27166900, 29560500, 27369900, 30396800, 26148100, 33349200, 45381300, 23222100, 11986600, 11939800, 8364700, 8998200, 9183900, 7304400, 10331400, 7347200, 12603300, 9600600, 12791400, 6630200, 8396200, 8964800, 13276800, 8086800, 14123900, 18257000, 40156400, 24894600, 16141400, 23030000, 14201400, 16282500, 11792600, 17556500, 12976300, 26857600, 55952200, 33645900, 27904500, 16797000, 17864800, 17720600, 28000000, 69528900, 41062500, 38269400, 39964200, 36924600, 38795400, 75956600, 28711000, 24033800, 23034800, 23731000, 11945800, 13307500, 22878300, 15600900, 13026100, 14704800, 11733600, 12524300, 9635100, 8932900, 7293800, 12593100, 8113500, 15875400, 10915400, 12373000, 12593800, 14967800, 10323300, 15043900, 11311600, 12293900, 11073600, 10553500, 5665000, 16025100, 12438800, 18256500, 14513400, 9479300, 25402100, 22914800, 17690100, 10151600, 21211600, 19636400, 17051600, 12521300, 12423900, 14701500, 15044900, 8274400, 4624000, 4029600, 8527000, 7783700, 11177900, 0, 8878200, 13912500, 12377600, 11136600, 8907600, 9979600, 17907400, 9989900, 17744000, 30192400, 56713300, 46530800, 36169600, 11107200, 36571300, 51805800, 24786200, 17790200, 12908200, 25688700, 22592300, 34829300, 73355600, 38300000, 24133800, 13995100, 11741100, 12975000, 9627600, 8678100, 7286100, 6573600, 10666700, 6323500, 10916300, 6151300, 8680900, 7150200, 15638100, 8644000, 12122100, 11472300, 16785200, 12405900, 10312400, 11772800, 13847200, 8098100, 6132900, 7742200, 11385200, 8819400, 10764800, 7450200, 8724500, 26985300, 28286300, 16844100, 8557500, 7025000, 11240500, 7047600, 8178500, 5738100, 4349000, 7127600, 6184800, 8391500, 13364100, 15281400, 28617300, 53185300, 29164300, 31279400, 27634900, 15130400, 15001200, 13486900, 11448700, 11870200, 11465300, 11662800, 9670100, 12371600, 18492100, 15015600, 9758800, 10046900, 10017500, 7575900, 8865100, 8054800, 4732800, 9588400, 6947700, 7127700, 12845400, 10007800, 17511000, 12354600, 7750500, 6803700, 7106000, 8062300, 11575800, 7349700, 6212900, 12282700, 8161200, 7671000, 4557600, 8627800, 9795000, 27497900, 25400200, 25551700, 19410100, 17919600, 17516700, 18360200, 97054200, 22971500, 19381300, 19375000, 31185900, 20349400, 46418700, 15302900, 23378200, 17520800, 9080900, 15812300, 13517800, 20653300, 28127100, 12142400, 15034500, 16043400, 10641900, 16478400, 11916500, 14614600, 25582200, 15837400, 7733700, 26218200, 14328400, 13236000, 9475000, 7680800, 29926200, 7479200, 8521200, 7839700, 6183400, 9062400, 9751900, 7441200, 13745700, 12529500, 17217400, 12097700, 10715300, 11839300, 10924600, 6516000, 8470700, 6306100, 7154200, 6725300, 6009500, 12612300, 4290400, 31010300, 16458500, 6524400, 4928300, 5831600, 11814000, 5377800, 9975200, 9649200, 11247700, 5644600, 5693100, 7005300, 5739500, 5531700, 7146100, 7595600, 8558400, 7859200, 9198700, 8629100, 7686600, 6698400, 10184300, 27327100, 21544900, 10670800, 5584200, 14944100, 8208400, 9564200, 6313500, 5755600, 6950600, 4500400, 4897100, 5858700, 8705800, 8205300, 4302200, 8997100, 6231200, 6162200, 3532100, 3576800, 5920200, 4149700, 5825100, 9384700, 4704300, 10727100, 4863200, 15859700, 6914800, 2606600, 9924400, 5646400, 7501700, 7059900, 4572600, 8479600, 9055500, 8710000, 13069400, 11890000, 7625700, 7423900, 19543600, 11374100, 17988100, 6876600, 24893200, 30365300, 11890900, 16050500, 15300900, 10046600, 11086100, 32516800, 12972300, 23759400, 22203500, 31822400, 19629300, 17986100, 12749700, 15666600, 21199300, 18978900, 29243600, 26387900, 16245500, 13080900, 11097400, 10833200, 7118400, 11998100, 8816100, 11224100, 9978600, 8284800, 7914400, 11589000, 14991500, 9466100, 7858300, 9957300, 11853400, 13770200, 10823400, 7784100, 9895500, 6710600, 6906200, 5614400, 7911500, 11400300, 9011200, 10845700, 22092400, 15449000, 8754300, 10026900, 13082400, 9603500, 21382400, 33848000, 21573600, 13015700, 29000800, 26330500, 13464900, 10315800, 10167100, 10040200, 7683700, 13616200, 14945900, 9071500, 8257700, 5591100, 9640200, 12534600, 13479200, 8489000, 9045100, 16131900, 8048000, 8985300, 7487500, 8938800, 11719900, 7926100, 13957200, 143265300, 80607900, 36336900, 24186800, 20230000, 17717800, 16972800, 13784800, 8688500, 21529600, 11839300, 16299400, 9415100, 7540300, 9255800, 16470100, 14703800, 20066100, 19487500, 17696900, 13799600, 35467000, 34283900, 24703600, 22625700, 34429600, 25379200, 29696400, 35335000, 17561800, 21329600, 20676200, 16074300, 16219100, 15106500, 13500700, 16757400, 11575300, 34182700, 64894100, 43541300, 35864600, 47943300, 29159200, 36735200, 31025300, 29221400, 33118300, 26124800, 18255900, 16332500, 19392900, 15813800, 28140700, 21027900, 20832500, 14032500, 20050100, 14219300, 38619400, 23439600, 20102400, 40242000, 101838300, 118328600, 81230600, 38567300, 27515600, 22580500, 26729000, 40816400, 23807800, 22411000, 20164000, 21462200, 16772400, 29070700, 13240300, 25466400, 28339400, 26768800, 13791300, 30783300, 75129300, 41519200, 27531100, 22943900, 16451300, 31387900, 16916300, 16088100, 18808800, 22284600, 18538400, 24994600, 57721900, 90814700, 170828000, 78014400, 50819500, 64251100, 52669500, 47829400, 37837200, 28990900, 33450000, 35848200, 61022400, 29875800, 30035900, 27878300, 30746100, 47453100, 30456700, 25770000, 31235600, 27059700, 33059000, 13800500, 32510800, 33592700, 30401700, 66934400, 24261500, 25314800, 29420200, 64607500, 64243500, 52998400, 78862000, 47619300, 37804200, 77261300, 42345900, 39906900, 33852200, 33673600, 32215700, 36999200, 37728500, 38479500, 71749500, 39492200, 29596400, 28909400, 78083200, 124235500, 62336200, 65595900, 71312800, 34646000, 14214100, 25907800, 54831400, 36511900, 56682400, 42398900, 31410100, 92242900, 54897300, 104613000, 60600800, 63342900, 46967800, 46968600, 48871300, 77777700, 46085800, 59314200, 44814100, 36450800, 32288200, 44336500, 71254500, 50234300, 44095400, 55182000, 40781200, 38855200, 34453500, 37304800, 29201600, 39377000, 75244100, 38377500, 70491800, 51797600, 46151300, 27982100, 27905700, 43991200, 61778100, 35866600, 32719200, 37725000, 53704900, 165939300, 116324500, 60036700, 140474100, 158683800, 75942900, 73339900, 54579300, 57413100, 40479100, 33722300, 52502500, 40888000, 66357100, 71505000, 80317600, 46288600, 95422900, 141783000, 73450400, 104330900, 163395900, 117192600, 76666300, 71294700, 45244200, 65142200, 73078100, 52554500, 55179600, 44494800, 224892300, 91565600, 72552700, 61239500, 44549900, 50099500, 42686800, 37420200, 37863500, 44132800, 84566200, 48423700, 58413000, 58816700, 139500100, 70441000, 47178000, 59916600, 37385400, 53442600, 38188200, 37172000, 36491100, 41976100, 25689600, 36120300, 35881000, 36644500, 31327600, 50376000, 68036300, 268336500, 140899400, 77031400, 51759000, 35101100, 51017300, 65995900, 72946500, 56072600, 52565000, 164186900, 160109500, 86900100, 50319700, 78696400, 49799600, 42903900, 33584300, 31907600, 35339000, 42929000, 48002000, 43056200, 66207300, 114998600, 151005900, 89515100, 167454400, 125781800, 87302300, 51909400, 61666000, 59779500, 61803600, 118001500, 188796100, 149594200, 200777300, 101012500, 89319700, 85266900, 87634400, 59267400, 39929100, 99450200, 88927800, 88392100, 78320200, 71102300, 78508400, 111656900, 82084600, 71690800, 78366500, 51957800, 47707500, 51045700, 71014900, 98047400, 236083000, 130303700, 66763800, 69108700, 49149900, 67502200, 52557400, 64254000, 57486800, 47338000, 58861500, 83113400, 63558800, 64426100, 57990300, 64639400, 47371000, 37521700, 58888500, 39033200, 44345400, 37269700, 29732000, 35969600, 33618100, 43933000, 51822100, 53158600, 51445500, 34182400, 35816900, 60886200, 43346100, 54413100, 37210700, 37220200, 50337400, 83517400, 65455200, 102682400, 166821900, 50547000, 84172200, 68302000, 59947200, 35812300, 33926900, 34461100, 85174000, 42303200, 34758600, 28258700, 54032500, 43304000, 38746600, 69874100, 37515800, 34136800, 28995600, 39020300, 33795700, 32538900, 49838000, 84891600, 166762100, 87625400, 115650400, 137785100, 78600000, 66875500, 47942500, 44264300, 96349800, 67900200, 59065000, 76821200, 50209900, 54068300, 37245000, 33524700, 31800400, 56775600, 35960200, 31881700, 23816500, 11035800, 41798300, 65325700, 63333800, 43205000, 42128800, 97328300, 67304100, 38952200, 32665600, 34897000, 29956400, 36211000, 41494800, 29006800, 45462300, 63797700, 43852900, 31420300, 21884300, 50744500, 20437900, 22921800, 18609400, 26678900, 44146300, 154066700, 109503000, 63808900, 63346000, 62560900, 52561200, 38354900, 47149300, 42686600, 39020800, 62086200, 46800700, 34758600, 46417200, 41956400, 42966600, 44239000, 66645400, 91236400, 140977800, 67543300, 79432600, 116568900, 87123200, 55758400, 56471800, 85458200, 63160900, 33661400, 51756800, 59593800, 47332300, 47096500, 40195800, 37886300, 33317600, 42265200, 55975300, 43387500, 63207400, 58123500, 43734800, 46751200, 127603200, 76011200, 89674400, 83748700, 174302600, 80540800, 66373900, 37591000, 53308600, 65116900, 44691700, 59944200, 54844500, 75878500, 68551300, 64832100, 48681400, 64824600, 54891600, 67356900, 65758800, 51087100, 38382600, 42849200, 29169300, 47784400, 38935700, 28875100, 45360300, 42449600, 57841600, 39011900, 42971300, 44992200, 90578000, 145284100, 74347800, 50608800, 43441600, 29267300, 33310600, 47884900, 54001700, 35218400, 49605700, 49744500, 43863700, 50263800, 44183200, 73364000, 38692500, 54063400, 49714200, 43267000, 44517800, 47785700, 43850100, 39578500, 58186400, 46797700, 71677900, 74546000, 56122700, 97089000, 99860300, 81930500, 80737600, 67002600, 90227300, 113048600, 77612200, 104317400, 92542900, 76280600, 95638400, 59257100, 94418400, 54213500, 56014300, 48716800, 41527800, 43398800, 32094000, 40703300, 65101700, 58525500, 37093000, 42544100, 44188100, 40614100, 65275300, 42313500, 40881500, 41267800, 42879800, 44940800, 58201500, 82604900, 192661100, 161903800, 160823400, 118403400, 75495200, 52867100, 53232100, 83579700, 72822600, 52081400, 46653400, 65821100, 81411300, 89195500, 86355700, 69733700, 60616600, 62983200, 55629000, 62002700, 113444100, 164328200]\n"
          ]
        }
      ],
      "execution_count": 15,
      "metadata": {
        "collapsed": false,
        "outputHidden": false,
        "inputHidden": false,
        "execution": {
          "iopub.status.busy": "2022-01-29T01:56:23.814Z",
          "iopub.execute_input": "2022-01-29T01:56:23.817Z",
          "iopub.status.idle": "2022-01-29T01:56:23.829Z",
          "shell.execute_reply": "2022-01-29T01:56:23.916Z"
        }
      }
    }
  ],
  "metadata": {
    "kernel_info": {
      "name": "python3"
    },
    "language_info": {
      "name": "python",
      "version": "3.6.13",
      "mimetype": "text/x-python",
      "codemirror_mode": {
        "name": "ipython",
        "version": 3
      },
      "pygments_lexer": "ipython3",
      "nbconvert_exporter": "python",
      "file_extension": ".py"
    },
    "kernelspec": {
      "name": "python3",
      "language": "python",
      "display_name": "Python 3"
    },
    "nteract": {
      "version": "0.28.0"
    }
  },
  "nbformat": 4,
  "nbformat_minor": 4
}